home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Help / locale / help / english / sys / endif.doc < prev    next >
Encoding:
Text File  |  2000-10-06  |  553 b   |  26 lines

  1. ENDIF
  2.  
  3. Terminates an IF block in a script file.
  4.  
  5. Format
  6.  
  7. ENDIF
  8.  
  9. Template
  10.  
  11. (none)
  12.  
  13. Location
  14.  
  15. Internal
  16.  
  17. ENDIF must be used when an IF commands is used. ENDIF is used in scripts at
  18. the end of an IF block. If the IF condition is not true or if the
  19. true-condition commands are executed and an ELSE is encountered, the
  20. execution of the script skips to the next ENDIF command. Every IF statement
  21. must be terminated by an ENDIF.
  22.  
  23. The ENDIF applies to the most recent IF or ELSE command.
  24.  
  25. See also: IF, ELSE. For examples using the ENDIF command, see Chapter 8.
  26.